package com.szly.phm.common.entity.vo.area;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @Description : ${创建类}
 * @Author : chengjiang
 * @Date: 2021/7/8 16:51
 */
@Data
public class AreaTreeVO {

    @ApiModelProperty(value = "id")
    private String id;

    @ApiModelProperty(value = "id路径")
    private String idPath;

    @ApiModelProperty(value = "区域名称")
    private String name;

    @ApiModelProperty(value = "名称路径")
    private String namePath;

    @ApiModelProperty(value = "区域编码")
    private String code;

    @ApiModelProperty(value = "编码路径")
    private String codePath;

    @ApiModelProperty(value = "别名")
    private String abbreviation;

    @ApiModelProperty(value = "父id")
    private String parentId;

    @ApiModelProperty(value = "级别：0-国；1-省；2-市；3-县区")
    private Integer areaLevel;

    @ApiModelProperty(value = "类型：1-行政区划；2-园区")
    private Integer areaType;

    @ApiModelProperty(value = "经度")
    private String longitude;

    @ApiModelProperty(value = "纬度")
    private String latitude;

    @ApiModelProperty(value = "是否叶子")
    private Boolean isLeaf = true;

    private List<AreaTreeVO> children;
}
